<include file="Public/header" title="互粉管理" />

<!-- 内容开始 -->
<div class="weibo">

 
      <!--侧栏开始 -->
        <include file="Public/sidebar" />
      <!--侧栏结束 -->

      <!--内容开始 -->

        <div class="content">
        <form id="friends" action="{:U(CONTROLLER_NAME.'/destroy')}" method="post">
        <div class="head">
          <h6>一共和{$friends.total_number}人互粉:</h6> 
          <div class="ajax-result"></div>
          <div class="pull-right ">
          <input type="submit" class="btn btn-primary"  value="批量取消">
          全选<input class="checkAll" type="checkbox" > 
          </div>
        </div>
        
         <foreach name="friends" item="f"> 
         
          <foreach name="f" item="v"> 
          <div class="friends">
            <div class="pull-left">
              <div class="face">
                <a target="_blank" href="http://weibo.com/u/{$v.id}"><img src="{$v.profile_image_url}" alt=""></a>
              </div>  
            </div>
            <div class="pull-left left">
              <div class="pull-left">
                <div class="name"><strong>{$v.name}</strong> <span>{$v.location}</span></div>
                <div class="connect">
                  粉丝<a target="_blank" href="http://weibo.com/{$v.id}/follow">{$v.followers_count}</a>
                  关注<a target="_blank" href="http://weibo.com/{$v.id}/fans">{$v.friends_count}</a>
                  微博<a target="_blank" href="http://weibo.com/{$v.id}/">{$v.statuses_count}</a>
                </div>
              </div>

            </div>
              <div class="pull-right hehe">
                <a href="{:U(CONTROLLER_NAME.'/destroy',array('uid'=>$v['id']))}">取消关注</a> 
                <input class="chkItem" type="checkbox" name="id[]" value="{$v.id}"> 
              </div>            
          </div>
          <div class="clearfix"></div>
          
          </foreach>
         </foreach> 
         <div class="foot">
            <div class="pull-left">
             <div class="pull-left">
              <ul class="pagination">{$page}</ul>
             </div>          
            </div>
         </div>
         </form>
        <?php // dump($friends) ?>
        </div>
  
      <!--内容结束 -->



</div>
<!-- 内容结束 -->

<include file="Public/footer" />